// Source: http://www.threelas.com //

function showrecentposts(a) {

var b = a.feed.openSearch$totalResults.$t; if (b < numberpost) {
numberpost = b - 1
} for (var c = 0; c <= numberpost; c++) {
postc? = a.feed.entryc?.title.$t; labelc? = a.feed.entryc?.category0?.term; timepubc? = a.feed.entryc?.published.$t.substring(0, 10)
} var d = new Array; for (var c = 0; c <= numberpost; c++) {
for (var e = 0; e <= a.feed.entryc?.link.length - 1; e++) {
if (a.feed.entryc?.linke?.rel == "alternate") {
dc? = a.feed.entryc?.linke?.href; break
}
}
} document.write('
<select id="tocSort" onchange="displaymessage(this.options[this.selectedIndex].value);">
<option value="0">
' + theOption + '
</option>
<option value="0">
' + theSortPost + '
</option>
<option value="1">
' + theSortLabel + '
</option>
</select>
'); document.write(''); document.write('
Unknown end tag for </tr>

Unknown end tag for </thead>

'); document.write(''); for (var c = 0; c <= numberpost; c++) {
if (a.feed.entryc?.category.length >= 1) {
for (var e = 0; e <= a.feed.entryc?.category.length - 1; e++) {
document.write('
'); document.write(''); document.write(''); document.write(''); document.write('') } } else {
document.write('
'); document.write(''); document.write(''); document.write(''); document.write('') } } document.write(''); document.write('
Unknown end tag for </table>

FireSubs?
') } function getTextValue(a) {
var b; var c; c = ""; for (b = 0; b < a.childNodes.length; b++) if (a.childNodesb?.nodeType == document.TEXT_NODE) c += a.childNodesb?.nodeValue; else if (a.childNodesb?.nodeType == document.ELEMENT_NODE && a.childNodesb?.tagName == "BR") c += " "; else c += getTextValue(a.childNodesb?); return normalizeString(c)
} function normalizeString(a) {
a = a.replace(whtSpMult, " "); a = a.replace(whtSpEnds, ""); return a
} function compareValues(a, b) {
var c, d; c = parseFloat(a); d = parseFloat(b); if (!isNaN(c) && !isNaN(d)) {
a = c; b = d
} if (a == b) return 0; if (a > b) return 1; return -1
} function displaymessage(a) {
var b = document.getElementById("toc"); if (b.reverseSort == null) b.reverseSort = new Array; if (a == b.lastColumn) b.reverseSorta? = !b.reverseSorta?; b.lastColumn = a; var c = b.style.display; b.style.display = "none"; var d; var e, f; var g, h; var i; var j; for (e = 0; e < b.rows.length - 1; e++) {
h = e; g = getTextValue(b.rowse?.cellsa?); for (f = e + 1; f < b.rows.length; f++) {
i = getTextValue(b.rowsf?.cellsa?); j = compareValues(g, i); if (b.reverseSorta?) j = -j; if (j > 0) {
h = f; g = i
}
} if (h > e) {
d = b.removeChild(b.rowsh?); b.insertBefore(d, b.rowse?)
}
} b.style.display = c; return false
} var post = new Array; var label = new Array; var timepub = new Array; if (document.ELEMENT_NODE == null) {
document.ELEMENT_NODE = 1; document.TEXT_NODE = 3
} var whtSpEnds = new RegExp?("^\\s|\\s$", "g"); var whtSpMult = new RegExp?("\\s\\s+", "g"); document.write('
<script src="' + yoursite + '/feeds/posts/default?max-results=' + numberpost + '&alt=json-in-script&callback=showrecentposts" type="text/javascript">
<\/script>');